package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息类型对象 basicMessageType
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class BasicMessageType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息类型编号 */
    private Long messageTypeId;

    /** 消息类型名称 */
    @Excel(name = "消息类型名称")
    private String messageTypeName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer isEnabled;

    /** 配置编号 */
    @Excel(name = "配置编号")
    private Long configId;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private Long templateId;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setMessageTypeId(Long messageTypeId) 
    {
        this.messageTypeId = messageTypeId;
    }

    public Long getMessageTypeId() 
    {
        return messageTypeId;
    }
    public void setMessageTypeName(String messageTypeName) 
    {
        this.messageTypeName = messageTypeName;
    }

    public String getMessageTypeName() 
    {
        return messageTypeName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setIsEnabled(Integer isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public Integer getIsEnabled() 
    {
        return isEnabled;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageTypeId", getMessageTypeId())
            .append("messageTypeName", getMessageTypeName())
            .append("description", getDescription())
            .append("isEnabled", getIsEnabled())
            .append("configId", getConfigId())
            .append("templateId", getTemplateId())
            .append("priority", getPriority())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .toString();
    }
}
